package com.zyl.Ecs;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure;
import com.zyl.Ecs.common.utils.CUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @ProjectName: Ecs
 * @Package: com.zyl.Ecs.gateway
 * @ClassName: GateWayApplication
 * @version v1.0
 * @Description TODO (网关启动类)
 * @Author 翟玉龙
 * @Date 2024/12/4-10:38
 */
@EnableDiscoveryClient
@SpringBootApplication(
        exclude = {
                DruidDataSourceAutoConfigure.class,
                DataSourceAutoConfiguration.class
        }
)
public class GateWayApplication {
    public static void main(String[] args) {
        SpringApplication.run(GateWayApplication.class, args);
        CUtil.logInfo("网关启动成功");
    }
}